
using AutoMapper;
using Yozeev.SystemConfig.BasicConfig;
using Yozeev.SystemConfig.BasicConfig.Dtos;

namespace Yozeev.SystemConfig.BasicConfig.Mapper
{

	/// <summary>
    /// 配置Branch的AutoMapper
    /// </summary>
	internal static class BranchMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <Branch,BranchListDto>();
            configuration.CreateMap <BranchListDto,Branch>();

            configuration.CreateMap <BranchEditDto,Branch>();
            configuration.CreateMap <Branch,BranchEditDto>();

        }
	}
}
